package entity;

public class Student {

	private int _studentId;
	private int _classNumber;
	private String _name;
	private char _sex;

	public Student(int studentId, int classNumber, String name, char sex) {
		_studentId = studentId;
		_classNumber = classNumber;
		_name = name;
		_sex = sex;
	}

	public int getStudentId() {
		return _studentId;
	}

	public int getClassNumber() {
		return _classNumber;
	}

	public String getName() {
		return _name;
	}

	public char getSex() {
		return _sex;
	}

	public String toString() {
		return "Student: " + _studentId;
	}
}
